﻿using System;
namespace Log.Recorder.Entity
{
    /// <summary>
    /// 日志内容
    /// </summary>
    public class LogContent
    {
        /// <summary>
        /// 
        /// </summary>
        public string LogFileName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime Time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Level { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public string Data { get; set; }
        /// <summary>
        /// 获取调用堆栈上的即时框架字符串表示形式。
        /// </summary>
        public string StackTrace { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public LogContent(string LogFileName, DateTime Time)
        {
            this.LogFileName = LogFileName;
            this.Time = Time;
        }

    }

}
